package com.jboltai.event.ai.aitext.text2sql;

/**
 * sql语句类型
 */
public enum SqlType {

    select,

    update,

    delete,

    insert,

    create,

    drop,

    ;

    public static SqlType get(String type) {
        try {
            return valueOf(type.toLowerCase());
        } catch (Exception e) {
            return null;
        }
    }

}
